package com.tarena.seata.order;

import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@MapperScan("com.tarena.seata.order.mapper")
@ImportResource("classpath:dubbo.xml")
@EnableAutoDataSourceProxy
public class OrderWeb {
    public static void main(String[] args) {
        org.springframework.boot.SpringApplication.run(OrderWeb.class, args);
    }
}
